import Vue from 'vue'
import Vuex from 'vuex'
import mutations from './mutation.js'
import actions from './action.js'

Vue.use(Vuex)

const state={
	 username:'',//登录用户名,
	 cartCount:0
}

export default new Vuex.Store({
	state,
	mutations,
	actions
})